package com.gzz.mybatis.common.conditices.rule;

/**
 * @author higmd
 */
public class WhereRegular extends AbstractRegular {
    private final Object value;
    public WhereRegular(SqlSymbol symbol, SqlSymbol previous, Object value) {
        super(null, symbol, previous);
        this.value = value;
    }
    @Override
    public String resolveExpression() {
        return String.format("%s %s", symbol.getNotation(), this.value);
    }
}
